function time(){
	var myDate = new Date();
	var years = myDate.getFullYear();
	var month = myDate.getMonth()+1;
	if(month < 10){
		month = "0"+month;
	}
	var days = myDate.getDate();
	if(days < 10){
		days = "0"+days; 
	}
	var time =  years+"年"+month+"月"+days+"号";
	$('.time').text(time);
}
setInterval(function(){ time(); }, 1000);
$(function(){
	var myDate = new Date();
	var week = myDate.getDay();
	var show_day=new Array('星期日','星期一','星期二','星期三','星期四','星期五','星期六'); 
	$('.week').text(show_day[week]);
	
	/*添加会员按钮 跳转页面*/
	$('.add-members').on('click',function(){
		window.location.href="addMember.html";
	})
	/*列表*/
	$.ajax({
	    //url: "http://192.168.0.119:2101/storeAssociator/queryMember",
	    success:function(data){
	       	console.log(data);
			}
		});
})
